package com.yunxin.core.application.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunxin.core.application.command.page.WeightPageCommand;
import com.yunxin.core.domain.model.weight.*;

import java.util.List;

/**
* @author Administrator
*/
public interface SysTeamWeightService extends IService<SysTeamWeight> {

    IPage<SysTeamWeightDto> getTeamWeightPage(WeightPageCommand command);

    Boolean saveTeamWeigh(SysTeamWeightDto command);

    Boolean editTeamWeight(SysTeamWeightDto command);

    Boolean deleteTeamWeight(SysWeightDelete command);

    Boolean weightSwitch(SysTeamWeight weight);

    List<SysTeamWeightProductDto> getDistributeInfo(Integer teamId, Integer weightId);
}
